/* ==========================================================================
   ESTILOS DANIELA & ARMANDO - ANIMACIONES DINÁMICAS & BOTONES DECORADOS
   Paleta: Azul Empolvado (Dusty Blue) y Transiciones Interactivas
   ========================================================================== */

:root {
    --primary: #859eb8;          /* Azul empolvado principal */
    --primary-light: #eaf1f7;    /* Azul suave para fondos */
    --primary-dark: #506982;     /* Azul medio para contrastes */
    --secondary: #1e2b37;        /* Azul marino profundo */
    --accent-gold: #c5a059;      /* Dorado suave para acentos */
    --bg-main: #f8fafc;
    --card-white: #ffffff;
    --text-dark: #1e2b37;
    --text-muted: #5f7387;
    --border-color: #dbe4ee;
    --card-shadow: 0 10px 25px rgba(30, 43, 55, 0.08);
    --hover-shadow: 0 20px 40px rgba(30, 43, 55, 0.18);
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   ANIMACIONES DIDÁCTICAS & INTERACTIVAS (KEYFRAMES)
   ========================================================================== */

/* Animación de entrada suave desde abajo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de flotado continuo (para iconos y tarjetas destacadas) */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Animación de pulso / brillo para botones de acción */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(133, 158, 184, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(133, 158, 184, 0); }
    100% { box-shadow: 0 0 0 0 rgba(133, 158, 184, 0); }
}

/* Aplicar entrada suave a las secciones principales */
.history-section, 
.cards-section, 
.gallery-section, 
.gifts-section, 
.dress-code-container, 
.contact-section {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   DISEÑO DE BOTONES DECORADOS Y ELEGANTES
   ========================================================================== */

/* Botón Principal (Azul Empolvado con Efecto Brillo) */
.btn-dusty-blue, .btn-peach, .btn-black {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(80, 105, 130, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efecto Destello / Brillo al pasar el cursor por los botones */
.btn-dusty-blue::before, .btn-peach::before, .btn-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.btn-dusty-blue:hover::before, .btn-peach:hover::before, .btn-black:hover::before {
    left: 100%;
}

.btn-dusty-blue:hover, .btn-black:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(80, 105, 130, 0.35);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
}

/* Botón de Ubicación Elegante (Estilo Contorno Decorado) */
.btn-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    background: var(--card-white);
    color: var(--secondary);
    border: 2px solid var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(133, 158, 184, 0.15);
}

.btn-location:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(133, 158, 184, 0.3);
}

/* Botón WhatsApp Didáctico */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    animation: pulseGlow 2.5s infinite;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   HERO & PORTADA DINÁMICA
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(30, 43, 55, 0.55), rgba(30, 43, 55, 0.65)), 
                url("DSC01713.JPG") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

.hero-tag {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 22px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
    color: var(--primary-light);
    animation: fadeInUp 1s ease;
}

.hero-names {
    font-family: var(--font-script);
    font-size: clamp(3.8rem, 8vw, 6.8rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1.2s ease;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.95;
    color: var(--primary-light);
    animation: fadeInUp 1.4s ease;
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    animation: floatSoft 2.5s infinite ease-in-out;
}

/* ==========================================================================
   TARJETA DE FECHA FLOTANTE
   ========================================================================== */
.date-overlap-card {
    max-width: 900px;
    margin: -80px auto 60px;
    background: var(--card-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.date-overlap-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.date-overlap-card p {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.date-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.date-grid .number {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.date-grid .month {
    font-family: var(--font-script);
    font-size: 3.8rem;
    color: var(--primary-dark);
}

/* ==========================================================================
   SECCIÓN NUESTRA HISTORIA
   ========================================================================== */
.history-section {
    max-width: 1100px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 0 20px;
}

.history-text h2 {
    font-family: var(--font-script);
    font-size: 3.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.history-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.history-center-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s ease;
}

.history-center-img:hover {
    transform: scale(1.02);
}

.history-quote-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #111a24 100%);
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-shadow: var(--card-shadow);
}

.history-quote-card blockquote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.history-quote-card .author {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--primary-light);
}

/* BANNER DE FOTO CON ZOOM SUAVE EN HOVER */
.video-banner {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin: 60px 0;
    transition: transform 0.8s ease;
}

.video-banner:hover {
    transform: scale(1.01);
}

/* ==========================================================================
   GALERÍA CON INTERACCIÓN DINÁMICA
   ========================================================================== */
/* OPCIÓN 2: MOSAICO DESTACADO */
.gallery-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* La primera foto toma el doble de alto y de ancho */
.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 520px;
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
        height: 320px;
    }
}
/* ==========================================================================
   TARJETAS CON ICONOS DECORATIVOS DIDÁCTICOS
   ========================================================================== */
.cards-section {
    max-width: 1100px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
}

.card-box {
    background: var(--card-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.card-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary);
}

/* Marcos Esféricos Decorados para los Iconos */
.card-icon-styled {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(133, 158, 184, 0.25);
    animation: floatSoft 3s infinite ease-in-out;
}

.card-box h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--secondary);
}

.card-box .title-script {
    font-family: var(--font-script);
    font-size: 3.2rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.card-box .card-time {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

.card-box address {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ==========================================================================
   CUENTA REGRESIVA PARALLAX
   ========================================================================== */
.countdown-bg-section {
    background: linear-gradient(rgba(30, 43, 55, 0.75), rgba(30, 43, 55, 0.75)), 
                url('WhatsApp Image 2026-07-28 at 21.38.01 (3).jpeg') center/cover fixed no-repeat;
    padding: 90px 20px;
    text-align: center;
    color: white;
}

.countdown-bg-section h2 {
    font-family: var(--font-script);
    font-size: 4.2rem;
    color: white;
}

.timer-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.timer-card {
    background: var(--card-white);
    color: var(--text-dark);
    padding: 25px 20px;
    border-radius: 18px;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.timer-card:hover {
    transform: translateY(-5px) scale(1.03);
}

.timer-card .num {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.timer-card .lbl {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PROGRAMACIÓN / TIMELINE VERTICAL ANIMADO
   ========================================================================== */
.timeline-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary), var(--primary-light));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    width: 50%;
    padding: 0 35px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: var(--card-white);
    padding: 14px 24px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: var(--primary-light);
    transform: scale(1.03);
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary-dark);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px var(--primary-light);
}

.timeline-item.left .timeline-dot { right: -8px; }
.timeline-item.right .timeline-dot { left: -8px; }

/* ==========================================================================
   MESA DE REGALOS & CONTACTO
   ========================================================================== */
.gifts-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.gift-card-horizontal {
    background: var(--card-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--card-shadow);
}

.gift-icon-box {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    border: 1.5px solid var(--border-color);
    padding: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(133, 158, 184, 0.25);
    animation: floatSoft 3s infinite ease-in-out;
}

.gift-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.gift-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    padding: 12px 28px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--secondary);
    color: #ffffff;
}

.bank-details-box {
    margin-top: 20px;
    background: var(--primary-light);
    padding: 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.4s ease;
}

/* CÓDIGO DE VESTIMENTA */
.dress-code-container {
    max-width: 1100px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.dress-code-text .subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.dress-code-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* CONFIRMACIÓN RSVP POR WHATSAPP */
.rsvp-banner-section {
    background: linear-gradient(rgba(30, 43, 55, 0.78), rgba(30, 43, 55, 0.78)), 
                url('PHOTO-2026-05-03-22-22-36.jpg') center/cover no-repeat;
    padding: 85px 20px;
    text-align: center;
    color: white;
}

.rsvp-overlay h2 {
    font-family: var(--font-script);
    font-size: 4rem;
    color: white;
    margin-bottom: 10px;
}

.rsvp-overlay p {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.rsvp-form-inline {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.input-rsvp {
    padding: 14px 22px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    min-width: 210px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* DUDAS / CONTACTO */
.contact-section {
    max-width: 900px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--card-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    width: 250px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

.contact-card img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-light);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .history-section, .cards-section, .dress-code-container {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gift-card-horizontal {
        flex-direction: column;
        text-align: center;
    }
}
/* ==========================================================================
 /* ==========================================================================
   PANTALLA DE ENTRADA FORMAL Y DECORADA (WELCOME OVERLAY)
   ========================================================================== */

/* Fondo general con filtro elegante */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(20, 30, 40, 0.75), rgba(20, 30, 40, 0.85)),
                url( "fotos/PHOTO-2026-05-03-22-22-36.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s ease;
}

.welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Tarjeta principal con doble marco dorado y cristal esmerilado */
.welcome-card-formal {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Marco interior con borde fino de etiqueta de lujo */
.welcome-border-inner {
    border: 1.5px solid var(--primary);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    background: var(--card-white);
}

.welcome-tagline {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.welcome-names-formal {
    font-family: var(--font-script);
    font-size: clamp(3.2rem, 6vw, 4.5rem);
    color: var(--secondary);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 10px;
}

.welcome-names-formal span {
    font-size: 0.7em;
    color: var(--primary);
    display: inline-block;
    margin: 0 6px;
}

.welcome-divider {
    color: var(--primary);
    font-size: 0.8rem;
    margin: 15px 0;
    opacity: 0.8;
}

.welcome-text-formal {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-date-sub {
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 30px;
}

/* ==========================================================================
   BOTÓN DE APERTURA LUXURY / DECORADO
   ========================================================================== */

.btn-open-lux {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 38px;
    border-radius: 50px;
    background: linear-gradient(135deg, #1e2b37 0%, #3a4f63 100%);
    color: #ffffff !important;
    border: 1px solid var(--primary-light);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(30, 43, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-open-lux .btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-open-lux .btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Efecto de destello de luz sobre el botón */
.btn-open-lux::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.btn-open-lux:hover::before {
    left: 100%;
}

.btn-open-lux:hover {
    transform: translateY(-4px) scale(1.03);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    box-shadow: 0 15px 35px rgba(30, 43, 55, 0.4);
    border-color: var(--primary);
}

.btn-open-lux:hover .btn-icon {
    transform: scale(1.2) rotate(-8deg);
}
/* BOTÓN FLOTANTE MÚSICA */
.music-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color, #dbe4ee);
    box-shadow: 0 6px 20px rgba(30, 43, 55, 0.2);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.music-float-btn:hover {
    transform: scale(1.1);
    background: var(--primary-light, #eaf1f7);
}
/* Ajuste móvil */
@media (max-width: 600px) {
    .welcome-card-formal {
        padding: 8px;
    }
    .welcome-border-inner {
        padding: 30px 18px;
    }
    .welcome-names-formal {
        font-size: 3rem;
    }
    .btn-open-lux {
        padding: 14px 28px;
        width: 100%;
    }
}
/* ==========================================================================
   REAJUSTE PERFECTO PARA MÓVILES Y CELULARES (RESPONSIVE FIX)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Ajustes del Overlay / Pantalla de Bienvenida */
    .welcome-card {
        width: 90%;
        padding: 30px 20px;
    }

    .welcome-names {
        font-size: 2.8rem;
    }

    /* 2. Hero y Portada */
    .hero-names {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    /* 3. Tarjeta de Fecha Flotante (Re-centrado) */
    .date-overlap-card {
        width: 90%;
        margin: -50px auto 40px;
        padding: 25px 15px;
    }

    .date-grid {
        gap: 15px;
    }

    .date-grid .number {
        font-size: 2rem;
    }

    .date-grid .month {
        font-size: 2.5rem;
    }

    /* 4. Sección Nuestra Historia (Columna Única Centrada) */
    .history-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        margin: 40px auto;
    }

    .history-text h2 {
        font-size: 2.8rem;
    }

    .history-center-img {
        height: 300px;
    }

    .history-quote-card {
        padding: 30px 20px;
    }

    /* 5. Galería (2 Columnas centradas) */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-item, .gallery-item.tall {
        height: 200px;
    }

    /* 6. Tarjetas de Iglesia y Recepción (1 Columna) */
    .cards-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px auto;
    }

    .card-box {
        padding: 30px 20px;
    }

    /* 7. Cuenta Regresiva (Ajuste de cajas) */
    .countdown-bg-section {
        padding: 60px 15px;
    }

    .countdown-bg-section h2 {
        font-size: 3rem;
    }

    .timer-flex {
        gap: 10px;
        flex-wrap: wrap;
    }

    .timer-card {
        min-width: 70px;
        padding: 15px 10px;
        flex: 1;
    }

    .timer-card .num {
        font-size: 2.2rem;
    }

    .timer-card .lbl {
        font-size: 0.75rem;
    }

    /* 8. Línea de Tiempo / Programación Centrada */
    .timeline::before {
        left: 20px; /* Pasa la línea al lado izquierdo en celular */
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        text-align: left !important;
        margin-bottom: 25px;
    }

    .timeline-item.left, .timeline-item.right {
        left: 0;
    }

    .timeline-dot {
        left: 12px !important; /* Alinea los puntos sobre la línea izquierda */
    }

    /* 9. Mesa de Regalos y Código de Vestimenta */
    .gift-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .gift-buttons {
        justify-content: center;
    }

    .dress-code-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .dress-code-img {
        height: 250px;
    }

    /* 10. Formulario RSVP e Inpusts en Celular */
    .rsvp-banner-section {
        padding: 60px 15px;
    }

    .rsvp-overlay h2 {
        font-size: 3rem;
    }

    .rsvp-form-inline {
        flex-direction: column;
        align-items: center;
    }

    .input-rsvp, .btn-dusty-blue {
        width: 100%;
        max-width: 320px;
    }

    /* 11. Contacto / Dudas */
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 280px;
    }
}
.foto-rostros {
    object-fit: cover;
    object-position: center 15%; /* El segundo valor controla la altura (0% es arriba, 50% es centro) */
}
/* ==========================================================================
   VERSÍCULO BÍBLICO
   ========================================================================== */
.bible-verse-section {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 20px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.verse-container {
    background: var(--card-white);
    padding: 60px 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.verse-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.verse-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: floatSoft 3s infinite ease-in-out;
}

.verse-text {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.verse-citation {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-dark);
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .verse-container {
        padding: 40px 25px;
    }
    .verse-text {
        font-size: 1.6rem;
    }
}